{% set clazz = "pay-code" %}
{% set title = "收款" %}
{% extends './modules/common/templates/main.html' %}
{% block style %}
  <link rel="stylesheet" type="text/css" href="{{ '/static/css/store.css'|version }}" />
{% endblock %}
{% block content %}
  {% if !nested %}
    <header class="bar bar-header">
      {{ macro.back() }}
      <h1 class="title">{{ title }}</h1>
    </header>
  {% endif %}
  <section>
    <div class="hspace vspace">
      <div class="item">
        <span class="text">
          <div class="text-center text-xl">{{price | currency}}</div>
        </span>
        <span class="text">
          <div class="text-center text-sm">{{shopName}}</div>
          <div class="text-center text-sm">请提醒用户使用微信或千丁APP扫码支付</div>
        </span>
        <div class="text text-center vspace"><img src="{{url}}"></div>
        <input type="hidden" name="qrCodeId" value="{{qrCodeId}}"/>
      </div>
    </div>
  </section>
{% endblock %}
{% block script %}
  {% parent %}
  <script src="{{ '/static/js/store.js'|version }}"></script>
{% endblock %}